package com.rainkaze.lifeharbor.model;

import android.app.Activity;

import lombok.Data;

@Data
public class ToolItem {
    private String name;
    private int iconResId;
    private Class<? extends Activity> targetActivityClass;
    private String toolIdentifier;
    private boolean isFavorite;

    public ToolItem(String name, int iconResId, Class<? extends Activity> targetActivityClass, String toolIdentifier) {
        this.name = name;
        this.iconResId = iconResId;
        this.targetActivityClass = targetActivityClass;
        this.toolIdentifier = toolIdentifier;
        this.isFavorite = false; // 默认不收藏
    }
}